

#include "../StdAfx.h"
#include "CClient.h"
#include "../../NSL(nexus standard library)/NCriticalErrorLog.h"

CClient::CClient(  const string in_Name, const NIPAddr in_ServerIPAddr, const int in_ServerPortNum ) : 
	NInter(), 
	NObject(), 
	m_ServerIPAddr(in_ServerIPAddr),
	m_ServerPortNum(in_ServerPortNum),
	m_Name( in_Name ),
	m_DisconnectReqCnt(0)
{



}

CClient::~CClient()
{

}


void CClient::AddDisconnectReqCnt( const char* in_pSourceFileName, const int in_SourceLineNum )
{
	m_DisconnectReqCnt += 1;
	InstanceNCriticalErrorLog()->WriteFmt( in_pSourceFileName, in_SourceLineNum, __FUNCTION__ );
}


